package java3_3;

import java.util.Scanner;

/**
 * 1：输入一个整数，判断其是否是另一个数的平方，比如64是8的平方，7不是任何数的平方
 */
public class homework1 {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int num = scanner.nextInt();
        int n = 0;
        while (true){
            int A = n*n;
            int B = (n+1)*(n+1);
            if (A<num&&num<B){
                System.out.println(num+"不是任何数的平方");
                break;
            }

            else {
                if (num == A){
                    System.out.println(num+"是"+n+"的平方");
                    break;
                }else if (num == B){
                    System.out.println(num+"是"+(n+1)+"的平方");
                    break;
                }
                else {
                    n = n+2;
                }
            }
            //n = n+2;
            }
        }
//        if (i == x*x){
//            System.out.println();
//        }
        }


